package gift.justflower.ecp.bean;

import org.nutz.dao.entity.annotation.EL;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Prev;
import org.nutz.dao.entity.annotation.Table;

/**
 * 类型对象（目前就是货物名称）
 * author:AB
 * time:2018年7月17日 11:47:24
 **/
@Table("t_type")
public class Type {
    @Name
    @Prev(els = @EL("uuid()"))
    private String id;
    private String name;
    private String userId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}